<template>
  <div class="content-in">
    <navbar-app></navbar-app>
    <div class="banner">
      <img src="@/assets/images/work/reason-bg01.png" />
      <div v-if="lang === 'en'" class="banner-tx">
        <p>IF YOU WANT TO MAKE A DIFFERENCE,</p>
        <p>THE DOOR OF ZOETENG IS</p>
        <p>ALWAYS OPEN FOR YOU!</p>
        <div class="solid" />
      </div>
      <div v-else class="banner-tx">
        <p>如果您想有所作为，</p>
        <p>硕腾的大门随时为您打开！</p>
        <div class="solid" />
      </div>
    </div>
    <div class="main">
      <h1>{{ lang === 'en' ? 'Why work at Soten' : '选择硕腾的原因' }}</h1>
      <img src="@/assets/images/work/reason-bg02.png" class="main-bg" />
      <ul>
        <li>
          <p class="ft-30">{{ $t('work.reason.growing') }}</p>
          <p class="ft-24">{{ $t('work.reason.growingBg') }}</p>
        </li>
        <li>
          <p class="ft-30">{{ $t('work.reason.boring') }}</p>
          <p class="ft-24">{{ $t('work.reason.boringBg') }}</p>
        </li>
        <li>
          <p class="ft-30">{{ $t('work.reason.eading') }}</p>
          <p class="ft-24">{{ $t('work.reason.eadingBg') }}</p>
        </li>
      </ul>
      <div class="main-in">
        <h2 class="blue">{{ $t('work.reason.working') }}</h2>
        <p>
          {{ $t('work.reason.contentA') }}
        </p>
        <img src="@/assets/images/work/reason-bg03.png" class="main-bg" />
        <p class="blue mg-t-30">{{ $t('work.reason.contentB') }}{{ $t('work.reason.contentC') }}</p>
        <img src="@/assets/images/work/reason-bg04.png" class="main-bg" />
        <h2 class="blue">{{ $t('work.reason.contentD') }}</h2>
        <p>
          {{ $t('work.reason.contentE') }}
        </p>
        <img src="@/assets/images/work/reason-bg05.png" class="main-bg" />
        <h2 class="blue">{{ $t('work.reason.contentF') }}</h2>
        <p>{{ $t('work.reason.contentG') }}{{ $t('work.reason.contentH') }}</p>
      </div>
      <div class="main-in pd-t-60">
        <img src="@/assets/images/work/reason-bg06.png" class="main-in-bg" />
        <h2 class="blue tx-center">{{ $t('work.reason.contentI') }}</h2>
        <p class="tx-center">
          {{ $t('work.reason.contentJ') }}<br />{{ $t('work.reason.contentK') }}
        </p>
      </div>
      <div class="main-in pd-t-60">
        <img src="@/assets/images/work/reason-bg07.png" class="main-in-bg" />
        <h2 class="blue tx-center">{{ $t('work.reason.contentL') }}</h2>
        <p class="tx-center">
          {{ $t('work.reason.contentM') }}<br />
          {{ $t('work.reason.contentN') }}<br />
          {{ $t('work.reason.contentO') }}<br />
          {{ $t('work.reason.contentP') }}
        </p>
      </div>
      <div class="main-in pd-t-60">
        <img src="@/assets/images/work/reason-bg08.png" class="main-in-bg" />
        <h2 class="blue tx-center">{{ $t('work.reason.contentQ') }}</h2>
        <p class="tx-center">
          {{ $t('work.reason.contentR') }}<br />
          {{ $t('work.reason.contentS') }}<br />
          {{ $t('work.reason.contentT') }}<br />
          {{ $t('work.reason.contentU') }}<br />
          {{ $t('work.reason.contentV') }}
        </p>
      </div>
    </div>
  </div>
</template>

<script>
import { mapState } from 'vuex'
import NavbarApp from '../navbar_app'

export default {
  components: {
    NavbarApp,
  },
  data() {
    return {}
  },
  computed: {
    ...mapState(['lang']),
  },
  methods: {},
}
</script>

<style lang="less" scoped>
.banner {
  display: flex;
  position: relative;

  img {
    width: 100%;
  }

  .banner-tx {
    position: absolute;
    font-size: 34px;
    font-weight: bold;
    color: #fff;
    line-height: 67px;
    padding: 200px 0 0 24px;
  }

  .solid {
    width: 400px;
    display: block;
    margin: 16px 0;
    background-color: #5b8ad6;
    height: 1px;
  }
}

.main {
  h1 {
    font-size: 36px;
    margin: 60px 0 40px 0;
    text-align: center;
  }

  .main-bg {
    width: 702px;
    display: block;
    margin: 0 auto;
  }

  ul {
    margin-top: -60px;
    padding: 0;
    position: relative;

    li {
      width: 654px;
      height: 230px;
      text-align: center;
      margin: 10px auto;
      color: #fff;
      list-style: none;
      padding: 24px 16px 0 16px;
      line-height: 30px;

      .ft-24 {
        margin-top: 8px;
      }

      &:nth-child(1) {
        background-color: rgba(7, 98, 203, 0.8);
      }

      &:nth-child(2) {
        background-color: rgba(133, 179, 223, 0.8);
      }

      &:nth-child(3) {
        background-color: rgba(194, 217, 239, 0.8);
      }
    }
  }

  .main-in {
    background-color: #f6f7f9;
    width: 702px;
    margin: 40px auto;
    padding-bottom: 50px;

    h2 {
      padding: 32px 24px 16px 24px;
      font-size: 30px;
    }

    p {
      padding: 0 24px;
      line-height: 30px;
      font-size: 24px;
    }

    img {
      margin-top: 30px;
    }

    .mg-t-30 {
      margin-top: 30px;
    }

    .main-in-bg {
      width: 300px;
      height: 210px;
      display: block;
      margin: 0 auto;
    }
  }

  .pd-t-60 {
    padding-top: 60px;
  }
}
</style>
